package cn.yunhe.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * id ID
 * government 省份
 * city 市
 * chinaN 经度
 * chinaE 纬度
 */
@Data
public class Province implements Serializable {
    private int id;
    private String government;
    private String city;
    private double chinaN;
    private double chinaE;
    private int flag;

    public Province(String government, String city, double chinaN, double chinaE, int flag) {
        this.government = government;
        this.city = city;
        this.chinaN = chinaN;
        this.chinaE = chinaE;
        this.flag = flag;
    }

    public Province(int id, String government, String city, double chinaN, double chinaE, int flag) {
        this.id = id;
        this.government = government;
        this.city = city;
        this.chinaN = chinaN;
        this.chinaE = chinaE;
        this.flag = flag;
    }

    public Province() {
    }

    public Province(String government, String city, double chinaN, double chinaE) {
        this.government = government;
        this.city = city;
        this.chinaN = chinaN;
        this.chinaE = chinaE;
    }

    public Province(int id, String government, String city, double chinaN, double chinaE) {
        this.id = id;
        this.government = government;
        this.city = city;
        this.chinaN = chinaN;
        this.chinaE = chinaE;
    }
}
